import sys
from PyQt5.QtWidgets import QApplication,QMainWindow
from test import *

'''
设置label控件和lineEdit控件的伙伴关系
'''

if __name__ == "__main__":
    app = QApplication(sys.argv)

    #创建一个QMainWindow窗体
    mainWindow = QMainWindow()

    ui = Ui_MainWindow()
    ui.setupUi(mainWindow)

    mainWindow.show()

    sys.exit(app.exec_())
